package com.armed.searchs;

/**
 * Class ObjectFilter
 *
 *
 * @author init() software
 * @version 12/03/2008 
 */
public class ObjectFilter extends AbstractFilter
{    
    /** Constructor of IntegerFilter
     * @param field
     * @param val id del objeto
     * @param comp
     */
    public ObjectFilter(String field,Integer val, String comp)
    {
        super(field, val, comp);
    }

    @Override
    public String getClause(String tableAlias)
    {
        return tableAlias + "." + ConvertClauses.convertField(field) + " " + ConvertClauses.convertComparator(ConvertClauses.comparators[0]);
    }
}
